var cc__decorate = __decorate;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var i = cc._decorator.ccclass;
var def_ZombieTip = /* */function (_cc$Component85) {
  babel_inherits(s, _cc$Component85);
  var _super106 = babel_createSuper(s);
  function s() {
    babel_classCallCheck(this, s);
    return _super106.apply(this, arguments);
  }
  babel_createClass(s, [{
    key: "init",
    value: function init(e) {
      this.node.getComponentInChildren(cc.Label).string = e;
    }
  }, {
    key: "onLoad",
    value: function onLoad() {
      var _this249 = this;
      this.node.getComponent(cc.Animation).on("stop", function () {
        _this249.node.destroy();
      });
    }
  }]);
  return s;
}(cc.Component);
def_ZombieTip = cc__decorate([i], def_ZombieTip);
exports.default = def_ZombieTip;